package com.woniu.cq.medical.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lucas
 * @since 2020-09-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lonbon_prescription")
public class Prescription implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "prescription_id", type = IdType.AUTO)
    private Integer prescriptionId;

    /**
     * 患者id
     */
    private Integer patientId;

    /**
     * 处方总价
     */
    private Double total;

    /**
     * 状态（0已缴费，1未缴费）
     */
    private String status;

    /**
     * 临床诊断信息
     */
    @TableField("clinicalDiagnosis")
    private String clinicalDiagnosis;


}
